package com.example.demo.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface Get_CarMapper {
    @Select("SELECT * FROM get_car")
    List<Map<String,Object>> getCar();
    @Select("select poi_lng,poi_lat from get_car where car_id = #{car_id}")
    Map<String,Object> getCar_position(@Param("car_id") int car_id);
}
